<include file="Public:header" />
	<section role="main" class="content-body">
    <header class="page-header" style="box-shadow: none;"></header>
    <!-- start: page -->
    <div class="row">
        <div class="col-xs-12 col-md-12 col-lg-12 ">
            <form action="" method="post">
                <div class="panel">
                    <header class="panel-heading">
                        <h4 class="panel-title">搜索记录</h4></header>
                    <div class="panel-body" style="">
                        <div class="row">
                            <div class="visible-xs mb-md"></div>
                            <div class="col-sm-12 col-md-12 col-lg-6">
                                <div class="input-daterange input-group" data-plugin-datepicker="">
                                    <span class="input-group-addon">
                                        <i class="fa fa-calendar"></i>
                                    </span>
                                    <input id="datepicker-inline" name="from" class="form-control" type="text" placeholder="交易日期（开始）" value="">
                                    <span class="input-group-addon mb-md">至</span>
                                    <input id="datepicker" name="to" class="form-control" type="text" placeholder="交易日期（结束）" value=""></div>
                            </div>
                            <div class="visible-xs mb-md"></div>
                            <div class="col-sm-12 col-md-12 col-lg-2">
                                <br>
                                <button type="submit" name="search" class="mb-xs mt-xs mr-xs btn btn-primary btn-block">搜索</button></div>
                        </div>
                    </div>
                    <div class="divider" style="margin: 30px 0px 25px 0px; border-bottom: 1px solid #DDD;"></div>
                    <div class="panel">
                        <header class="panel-heading">
                            <h4 class="panel-title" style="">总结交易记录(数额以美金记录)</h4></header>
                        <div class="panel-body">
                            <form name="frm" id="frm" method="post">
                                <div id="datatable-default2_wrapper" class="dataTables_wrapper no-footer">
                                    <div class="table-responsive">
									
                                        <table class="table table-striped dataTable no-footer" id="datatable-default2" role="grid" aria-describedby="datatable-default2_info">
                                            <thead>
                                                <tr role="row">
													<th class="sorting" tabindex="0" aria-controls="datatable-default2" rowspan="1" colspan="1">日期</th>
													<volist name="bonus_type" id="type">
														<th class="sorting" tabindex="0" aria-controls="datatable-default2" rowspan="1" colspan="1">{$type['name']}</th>
													</volist>
													<th>详情</th>
												</tr>
                                            </thead>
                                            <tbody>
											<volist name="list['content']" id="vo">
												<tr  role="row">
													<td>{$vo['add_time']|getDateFormatSpecial=###}</td>
													<volist name="bonus_type" id="type">
														<td><?php echo $vo['bonus'.$type['id']] ?></td>
													</volist>
													<td>
														<a href="{:U('Money/financeLog',['bonus_id'=>$vo['id']])}">查看</a>
													</td>
												</tr>
											</volist>
                                               
                                            </tbody>
                                        </table>
                                    </div>
                                    <div class="row datatables-footer">
                                        <div class="col-sm-12 col-md-6">
                                            <div class="dataTables_info" id="datatable-default2_info" role="status" aria-live="polite">{$list['page']}</div></div>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </form>
        </div>
        <!-- end: page --></div>
</section>
<include file="Public:footer" />